﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SAD_Assignment1.DTO
{
    public class CommentDTO
    {
        private int id;

        public int ID
        {
            get { return id; }
            set { id = value; }
        }
        private int accID;

        public int AccID
        {
            get { return accID; }
            set { accID = value; }
        }
        private DateTime postDate;

        public DateTime PostDate
        {
            get { return postDate; }
            set { postDate = value; }
        }
        private string body;

        public string Body
        {
            get { return body; }
            set { body = value; }
        }
        private string accName;

        public string AccName
        {
            get { return accName; }
            set { accName = value; }
        }
        private bool isReply;

        public bool IsReply
        {
            get { return isReply; }
            set { isReply = value; }
        }
        
        public CommentDTO() { }
        public CommentDTO(int id, int accID, DateTime postDate, string body, string accName, bool isReply)
        {
            ID = id;
            AccID = accID;
            PostDate = postDate;
            Body = body;
            AccName = accName;
            IsReply = isReply;
        }
    }
}